#define _CRT_SECURE_NO_WARNINGS 1
#include "LTList.h"

int main()
{
	ListNode* phead = InitLTlist();
	ListPushBack(phead, 1);
	ListPushBack(phead, 2);
	ListPushBack(phead, 3);
	ListPushBack(phead, 4);
	ListPushBack(phead, 5);
	ListPrint(phead);
	ListNode* pos = ListFind(phead, 2);
	ListInsert(pos, 20);
	ListPrint(phead);
	ListErase(pos);
	ListPrint(phead);
	ListDestory(phead);
	ListPrint(phead);
	return 0;
}